﻿using LogionDemo.Models;

namespace LogionDemo.Common.UserEventArgs
{
	public class PropertyChangedEventArgs : EventArgs
	{
		public PropertyChangedEventArgs(string propertyName, object oldValue, object newValue, UserToken userToken)
		{
			PropertyName = propertyName;
			NewValue = newValue;
			OldValue = oldValue;
			UserToken = userToken;
		}

		public object NewValue { get; }
		public object OldValue { get; }
		public string PropertyName { get; }
		public UserToken UserToken { get; }
	}
}